package logic

import (
	"context"

	"cart_srv/card"
	"cart_srv/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type CardAddLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewCardAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CardAddLogic {
	return &CardAddLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *CardAddLogic) CardAdd(in *card.CardAddRequest) (*card.CardAddResponse, error) {
	// todo: add your logic here and delete this line

	return &card.CardAddResponse{}, nil
}
